

#include "SamsungPlayers.h"


void SamsungDVDPlayer:: start()
{ 
	if (!on) 
	{
		director->DVDstart(this);
		cout << "Samsung DVD Player started" << endl;
		on = true;
	}
}
void SamsungDVDPlayer::forward(){}
void SamsungDVDPlayer::stop(){
	if (on) 
	{
		director->DVDstop(this);
		cout << "Samsung DVD Player stopped" << endl;
		on = false;
	}
}
void SamsungDVDPlayer::rewind(){}


//////////////////////////////////////////////////////////////

void SamsungVCRPlayer::start(){ 
	if (!on) 
	{
		director->VCRstart(this);
		cout << "Samsung VCR Player started" << endl;
		on = true;
	}
}
void SamsungVCRPlayer::forward(){}

void SamsungVCRPlayer::stop(){
	if (on) 
	{
		director->VCRstop(this);
		cout << "Samsung VCR Player stopped" << endl;
		on = false;
	}
}
void SamsungVCRPlayer::rewind(){}

//////////////////////////////////////////////////////////


void SamsungCDPlayer::start(){
	if (!on) 
	{
		director->CDstart(this);
		cout << "Samsung CD Player started" << endl;
		on = true;
	}
}
void SamsungCDPlayer::forward(){}
void SamsungCDPlayer::stop(){
	if (on) 
	{
		director->CDstop(this);
		cout << "Samsung CD Player stopped" << endl;
		on = false;
	}
}
void SamsungCDPlayer::rewind(){};
